//
//  LZNewViewController.m
//  LZHundredJie
//
//  Created by apple on 16/4/5.
//  Copyright © 2016年 m14a.cn. All rights reserved.
//

#import "LZNewViewController.h"
#import "LZSubTagViewController.h"


@interface LZNewViewController ()

@end

@implementation LZNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // 1.设置背景色
    self.view.backgroundColor = [UIColor brownColor];
    
    // 2.设置导航条内容
    [self setupNavBar];
}
#pragma mark - 设置导航条内容
- (void)setupNavBar
{
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithTarget:self action:@selector(subTag) image:@"MainTagSubIcon"highImage:@"MainTagSubIconClick"];
}

// 点击了订阅标签
- (void)subTag
{
    // 创建订阅标签控制器
    LZSubTagViewController *subTagVc = [[LZSubTagViewController alloc] init];
    // 跳转到订阅标签控制器
    [self.navigationController pushViewController:subTagVc animated:YES];
    
}

@end
